<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>

<%
	request.setAttribute("title","运维人员详情");
	request.setAttribute("modelConfigPath", "baseInfo");
%>

<%@ include file="/WEB-INF/views/shared/master/contentHeader.jsp"%>
<style type="text/css">

</style>

<t:panel cssClass="panel-flat form-detailed" customBody="true" customHead="true">
	<div class="detailed-navbar-content panel-body">
		<t:form commandName="operation" action="/admin/baseInfo/operation/save" method="post" cssClass="form-horizontal">
			<div class="hide">
				<t:hidden path="employeeId"/>
			</div>
			<t:formgroup>
				<t:label path="operationName" cssClass="col-sm-2" />
				<t:input path="operationName" colClass="col-sm-3" />
				<t:label path="employeeAccount"  cssClass="col-sm-2"  />
				<t:input path="employeeAccount" data-markCodeFor="employeeName" data-markFilter="account" colClass="col-sm-3" cssClass="markCode" />
			</t:formgroup>
			<t:formgroup>
				<t:label path="sex" cssClass="col-sm-2" />
				<t:selectButton path="sex" colClass="col-sm-4" />
			</t:formgroup>
			<t:formgroup>
				<t:label path="mobile" cssClass="col-sm-2" />
				<t:input path="mobile" colClass="col-sm-3" />
				<t:label path="email" cssClass="col-sm-2" />
				<t:input path="email" colClass="col-sm-3"/>
			</t:formgroup>
			<t:formgroup>
				<t:label path="comments" cssClass="col-sm-2" />
				<t:textarea path="comments" rows="6" colClass="col-sm-8" />
			</t:formgroup>
		</t:form>
	</div>
	<t:panelFoot headingBtnCssClass="heading-btn pull-right-important">
		<t:button icon="icon-floppy-disk" onclick="saveData()" cssClass="btn-info" csize="sm">保存</t:button>
	</t:panelFoot>
</t:panel>

<script type="text/javascript">
	function saveData(){
		if (!$("form:first").valid()){
			return;
		}
		$("form:first").submit();
	}	
</script>
<%@ include file="/WEB-INF/views/shared/base/scripts/jqueryui.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formselects.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formstyling.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formselects.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/dialog.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/contentFooter.jsp"%>
